package com.groupsix.controller;

import com.groupsix.pojo.SysUser;
import com.groupsix.service.AppService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class AppController {
    @Resource
    AppService appService;
    @RequestMapping("/test")
    public void test(){
        List<SysUser> users = appService.findAll();
        System.out.println("users = " + users);
    }
}
